#ifndef PLAYSLIDER_H
#define PLAYSLIDER_H

#include <QWidget>
#include <QMouseEvent>

#include "util.h"
namespace Ui {
class playSlider;
}

class playSlider : public QWidget
{
    Q_OBJECT

public:
    explicit playSlider(QWidget *parent = nullptr);
    ~playSlider();

    void mousePressEvent(QMouseEvent* event);
    void mouseMoveEvent(QMouseEvent* event);
    void mouseReleaseEvent(QMouseEvent* event);

private:
    Ui::playSlider *ui;
    int playGrogress;

    void moveSlider();
};

#endif // PLAYSLIDER_H
